package com.zhangxu.junior.mapper;

import com.zhangxu.junior.domain.Course;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CourseMapper {

    public List<Course> sleectCourseList(Course course);

    public List<Course> selectCourseByIds(@Param("ids") List<Long> ids);

    public int insertCourse(Course course);

    public int delteCourse (Long id);
}
